package net.arogarth.aws.android.lib.models;

import java.util.ArrayList;
import java.util.List;

public class ElbInsance extends AmazonObject {
	public static class ElbPortConfiguration {
		private String protocol = "";
		private String elbPort = "";
		private String instancePort = "";
		public String getProtocol() {
			return protocol;
		}
		public void setProtocol(String protocol) {
			this.protocol = protocol;
		}
		public String getElbPort() {
			return elbPort;
		}
		public void setElbPort(String elbPort) {
			this.elbPort = elbPort;
		}
		public String getInstancePort() {
			return instancePort;
		}
		public void setInstancePort(String instancePort) {
			this.instancePort = instancePort;
		}
	}
	
	private String canonicalHostedZoneName = "";
	private String availabilityZones = "";
	private String canonicalHostedZoneNameId = "";
	private String createdTime = "";
	private String dnsName = "";
	private String healthCheck = "";
	private List<String> instances = new ArrayList<String>();
	private String listenerDescriptions = "";
	private String loadBalancerName = "";
	private String policies = "";
	private String sourceSecurityGroup = "";
	private List<ElbPortConfiguration> portCongiguration = new ArrayList<ElbInsance.ElbPortConfiguration>();
	
	public List<ElbPortConfiguration> getPortCongiguration() {
		return portCongiguration;
	}
	
	/**
	 * Healthcheck
	 */
	private String healthCheckInterval = "";
	private String healthCheckTarget = "";
	private String healthCheckHealthyThreshold = "";
	private String healthCheckTimeout = "";
	private String healthCheckUnhealthyThreshold = "";
	
	private Integer countMembers = 0;
	
	public Integer getCountMembers() {
		return countMembers;
	}
	public void setCountMembers(Integer countMembers) {
		this.countMembers = countMembers;
	}
	public String getCanonicalHostedZoneName() {
		return canonicalHostedZoneName;
	}
	public void setCanonicalHostedZoneName(
			String canonicalHostedZoneName) {
		this.canonicalHostedZoneName = canonicalHostedZoneName;
	}
	public String getAvailabilityZones() {
		return availabilityZones;
	}
	public void setAvailabilityZones(String availabilityZones) {
		this.availabilityZones = availabilityZones;
	}
	public String getCanonicalHostedZoneNameId() {
		return canonicalHostedZoneNameId;
	}
	public void setCanonicalHostedZoneNameId(
			String canonicalHostedZoneNameId) {
		this.canonicalHostedZoneNameId = canonicalHostedZoneNameId;
	}
	public String getCreatedTime() {
		return createdTime;
	}
	public void setCreatedTime(String createdTime) {
		this.createdTime = createdTime;
	}
	public String getDnsName() {
		return dnsName;
	}
	public void setDnsName(String dnsName) {
		this.dnsName = dnsName;
	}
	public String getHealthCheck() {
		return healthCheck;
	}
	public void setHealthCheck(String healthCheck) {
		this.healthCheck = healthCheck;
	}
	public List<String> getInstances() {
		return instances;
	}
	public String getListenerDescriptions() {
		return listenerDescriptions;
	}
	public void setListenerDescriptions(String listenerDescriptions) {
		this.listenerDescriptions = listenerDescriptions;
	}
	public String getLoadBalancerName() {
		return loadBalancerName;
	}
	public void setLoadBalancerName(String loadBalancerName) {
		this.loadBalancerName = loadBalancerName;
	}
	public String getPolicies() {
		return policies;
	}
	public void setPolicies(String policies) {
		this.policies = policies;
	}
	public String getSourceSecurityGroup() {
		return sourceSecurityGroup;
	}
	public void setSourceSecurityGroup(String sourceSecurityGroup) {
		this.sourceSecurityGroup = sourceSecurityGroup;
	}
	public String getHealthCheckInterval() {
		return healthCheckInterval;
	}
	public void setHealthCheckInterval(String healthCheckInterval) {
		this.healthCheckInterval = healthCheckInterval;
	}
	public String getHealthCheckTarget() {
		return healthCheckTarget;
	}
	public void setHealthCheckTarget(String healthCheckTarget) {
		this.healthCheckTarget = healthCheckTarget;
	}
	public String getHealthCheckHealthyThreshold() {
		return healthCheckHealthyThreshold;
	}
	public void setHealthCheckHealthyThreshold(
			String healthCheckHealthyThreshold) {
		this.healthCheckHealthyThreshold = healthCheckHealthyThreshold;
	}
	public String getHealthCheckTimeout() {
		return healthCheckTimeout;
	}
	public void setHealthCheckTimeout(String healthCheckTimeout) {
		this.healthCheckTimeout = healthCheckTimeout;
	}
	public String getHealthCheckUnhealthyThreshold() {
		return healthCheckUnhealthyThreshold;
	}
	public void setHealthCheckUnhealthyThreshold(
			String healthCheckUnhealthyThreshold) {
		this.healthCheckUnhealthyThreshold = healthCheckUnhealthyThreshold;
	}
}
